home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10752 < prev    next >
Encoding:
Text File  |  1996-08-05  |  612 b   |  35 lines

  1. Path: news.interport.net!usenet
  2. From: yaron@interport.net (Adi)
  3. Newsgroups: comp.lang.c++
  4. Subject: Assembler and C++
  5. Date: Sun, 10 Mar 1996 05:03:51 GMT
  6. Organization: Interport Communications Corp.
  7. Message-ID: <4htde7$3il@park.interport.net>
  8. NNTP-Posting-Host: yaron.port.net
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Can anybody show me how can I access class data members with assembler
  12. commands, from within a method of the class :
  13.  
  14.  
  15. class foo {
  16.     public :
  17.         foo() : x(0), y(0), str(0) {}
  18.         virtual ~foo() {}
  19.  
  20.         void Display()
  21.         {
  22.             _asm {
  23.  
  24.                     ????
  25.  
  26.             }
  27.         }
  28.  
  29.     protected :
  30.         int x, y;
  31.         const char * str;
  32. };
  33.  
  34.  
  35.